package com.seg.system.mapper;

import com.seg.system.domain.TInWarehouse;

import java.util.List;

/**
 * 备件入库Mapper接口
 * 
 * @author seg
 * @date 2023-07-04
 */
public interface TInWarehouseMapper 
{
    /**
     * 查询备件入库
     * 
     * @param id 备件入库主键
     * @return 备件入库
     */
    public TInWarehouse selectTInWarehouseById(Long id);

    /**
     * 查询备件入库列表
     * 
     * @param tInWarehouse 备件入库
     * @return 备件入库集合
     */
    public List<TInWarehouse> selectTInWarehouseList(TInWarehouse tInWarehouse);

    /**
     * 新增备件入库
     * 
     * @param tInWarehouse 备件入库
     * @return 结果
     */
    public int insertTInWarehouse(TInWarehouse tInWarehouse);

    /**
     * 修改备件入库
     * 
     * @param tInWarehouse 备件入库
     * @return 结果
     */
    public int updateTInWarehouse(TInWarehouse tInWarehouse);

    /**
     * 删除备件入库
     * 
     * @param id 备件入库主键
     * @return 结果
     */
    public int deleteTInWarehouseById(Long id);

    /**
     * 批量删除备件入库
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTInWarehouseByIds(Long[] ids);
}
